// import { get } from '@/common/js/httpHelper'
import { post } from '@/common/js/httpHelper'
import * as url from '@/common/js/interfaces'

const getAppKeys = async (params) => {
  const result = await post(url.getAppKey, params)
  return result.data
}

// export const getAppKeyByAppKeyName = async (params) => {
//   const getAppKeyApiUrl = '/rest/appKey/findByAppKey'
//   const result = await get(getAppKeyApiUrl, params)
//   return result.data
// }

export default {
  getAppKeys: getAppKeys
}
